package com.example.classcommunity3.dao;

import com.example.classcommunity3.model.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TeacherDao extends JpaRepository<Teacher, Long> {

    Teacher findByTAccount(Long account);

}
